
/**
 * 路由的配置
 */

import chat from './routers/chat';

export default [
  
  {
    path: '/',
    component: '@/layouts/BasicLayout',
    routes: [
      // 菜单
      {
        path: '/',
        component: '@/layouts/MenuLayout',
        routes: [
          { path: '/', redirect: '/chat' },
          ...chat,
          { component: '404' },
        ],
      },
    ],
  },

];
